package com.example.myapplication.mainactivity.presenter;

import com.example.myapplication.baseview.BaseMvpView;

public class BaseMvpPresenter<V extends BaseMvpView> implements Presenter<V> {
    public V mvpView;

    /**
     * 绑定view
     * @param mvpView  目标view
     */
    @Override
    public void attachView(V mvpView) {
        this.mvpView = mvpView;
    }

    @Override
    public void addInitView() {}

    @Override
    public void onAddClick() {}

    @Override
    public void addData() {}

    @Override
    public void detachView() {
        mvpView = null;
    }

}
